package org.jmh.gift.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.jmh.gift.domain.GoodsSpu;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * spu表 Mapper 接口
 * </p>
 *
 * @author lingfeng
 * @since 2024-07-30
 */
@Mapper
public interface GoodsSpuMapper extends BaseMapper<GoodsSpu> {

    void onOrOffSale(@Param("ids") List<Long> ids,@Param("state") int state);
}
